import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
export default new Vuex.Store({
  state: {
    count: 10,
    userInfo: [], // 用户数据
    rulesDetail: {}// 规章详情数据
  },
  mutations: {
    increment (state) {
      state.count++
    }
  }
})
